/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package org.opensource.jdom.taggen.html.tag;

import org.opensource.jdom.taggen.html.I18nAttributes;

/**
 * Defines the title of a page. You must have a title element to produce a valid
 * document and it must be placed within the head element.
 *
 * <h2>Example</h2> <pre><code class="html">
 * &lt;html&gt;
 * &lt;head&gt;
 * <strong>&lt;title&gt;</strong>Shiny Gongs<strong>&lt;/title&gt;</strong>
 * &lt;/head&gt;
 * &lt;body&gt;
 * [stuff]
 * &lt;/body&gt;
 * &lt;/html&gt;
 * </code></pre>
 *
 * @see Head
 * 
 * @author sergio.valdez
 */
public class Title extends I18nAttributes {

    public Title() {
    }

    /**
     * Assigning default title.
     * 
     * @param title Title for the page.
     */
    public Title(String title) {
        super.setText(title);
    }

}
